home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / libs / graphics3d.lha / src / library / graphics3Df_proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-17  |  3.8 KB  |  113 lines

  1. /*
  2. **      $VER: graphics3Df_proto.h 10.01 (01.11.97)
  3. **
  4. **      Functions prototypes for graphics3D.library
  5. **
  6. **      (C) Copyright 97 Patrizio Biancalani
  7. **      All Rights Reserved.
  8. */
  9.  
  10. struct ambient3d *GD_display3d(REG(a0)struct Window *win,REG(d0)long int x0,
  11.         REG(d1)long int y0,REG(d2)long int scrw, 
  12.         REG(d3)long int scrh,REG(d4)long int vdist);
  13.  
  14. long int GD_clipbox(REG(a0)struct ambient3d *in,REG(d0)long int minx,
  15.        REG(d1)long int miny,REG(d2)long int dx,REG(d3)long int dy);
  16.  
  17. void GD_cls_b(REG(a0)struct ambient3d *in,REG(d0)long int x0,
  18.     REG(d1)long int y0,REG(d2)long int x1,REG(d3)long int y1);
  19.  
  20. void GD_over(REG(a0)struct ambient3d *in,REG(d0)long int mod);
  21.  
  22. void GD_close_display3d(REG(a0)struct ambient3d *in);
  23.  
  24. long int GD_changeviewmode(REG(a0)struct ambient3d *in,
  25.     REG(d0)long int modo,REG(d1)long int b_col);
  26.  
  27. long int GD_changeviewmodeobj(REG(a0)struct ambient3d *in,
  28.     REG(d0)long int modo);
  29.  
  30. void GD_touchpalette(REG(a0)struct ambient3d *in,REG(d0)long int fr,
  31.     REG(d1)long int lr,REG(a1)struct rgbtype *init_color,
  32.     REG(a2)struct rgbtype *last_color);
  33.  
  34. void GD_moveforward(REG(a0)struct ambient3d *in,REG(d0)long int dist);
  35.  
  36. void GD_viewangle(REG(a0)struct ambient3d *in,REG(d0)long int ax,
  37.     REG(d1)long int ay,REG(d2)long int az);
  38.  
  39. void GD_frustum(REG(a0)struct ambient3d *in,REG(d0)long int near,
  40.     REG(d1)long int far);
  41.  
  42. void GD_createlightsource(REG(a0)struct ambient3d *in,REG(d0)long int x,
  43.     REG(d1)long int y,REG(d2)long int z);
  44.  
  45. void GD_ambientlight(REG(a0)struct ambient3d *in,REG(d0)long int inte);
  46.  
  47. void GD_positioncamera(REG(a0)struct ambient3d *in,REG(d0)long int x,
  48.     REG(d1)long int y,REG(d2)long int z);
  49.  
  50. void GD_aspectratio(REG(a0)struct ambient3d *in,REG(d0)long int ratio);
  51.  
  52. void GD_clipmode(REG(a0)struct ambient3d *in,REG(d0)long int mode);
  53.  
  54. long int GD_newobj(REG(a0)struct ambient3d *in,
  55.     REG(a1)char *name,REG(d0)long int pol,REG(d1)long int vert); 
  56.  
  57. void GD_deleteobject(REG(a0)struct ambient3d *in);
  58.  
  59. long int GD_addobjvertex(REG(a0)struct ambient3d *in,
  60.     REG(d0)long int num,REG(d1)long int x,REG(d2)long int y,
  61.     REG(d3)long int z);
  62.  
  63. long int GD_addobjpoly(REG(a0)struct ambient3d *in, 
  64.     REG(d0)long int num,REG(d1)long int p1,REG(d2)long int p2,
  65.     REG(d3)long int p3,REG(d4)long int p4);
  66.  
  67. long int GD_cattpoly(REG(a0)struct ambient3d *in,
  68.     REG(d0)long int num,REG(d1)long int color,REG(d2)long int twoside);
  69.  
  70. long int GD_setobj(REG(a0)struct ambient3d *in,REG(d0)long int num);
  71.  
  72. long int GD_getobj(REG(a0)struct ambient3d *in);
  73.  
  74. void GD_translateobject(REG(a0)struct ambient3d *in,
  75.     REG(d0)long int dx,REG(d1)long int dy,REG(d2)long int dz);
  76.  
  77. void GD_positionobject(REG(a0)struct ambient3d *in,
  78.     REG(d0)long int x,REG(d1)long int y,REG(d2)long int z);
  79.  
  80. void GD_scaleobject(REG(a0)struct ambient3d *in,
  81.     REG(d0)long int xscale_fact,REG(d1)long int yscale_fact,
  82.     REG(d2)long int zscale_fact);
  83.  
  84. void GD_rotateobject(REG(a0)struct ambient3d *in,
  85.     REG(d0)long int angle_x,REG(d1)long int angle_y,
  86.     REG(d2)long int angle_z);
  87.  
  88. long int GD_pickobj(REG(a0)struct ambient3d *in,REG(a1)long int *np,
  89.     REG(d0)long int x,REG(d1)long int y);
  90.  
  91. void GD_rgb4(REG(a0)struct ambient3d *in,REG(d0)long int n,
  92.     REG(d1)long int red,REG(d2)long int green,REG(d3)long int blue); 
  93.  
  94. struct RastPort *GD_paintframe(REG(a0)struct ambient3d *in);
  95.  
  96. void GD_newview(REG(a0)struct ambient3d *in);
  97.  
  98. void GD_recalcobj(REG (a0)struct ambient3d *in);
  99.  
  100. long int GD_cascene( REG(a0)struct ambient3d *in, REG(a1)struct tag3d *new);
  101.  
  102. long int GD_int2fix( REG(a0)long int *in, REG(a1)long int *out);
  103.  
  104. long int GD_fix2int( REG(a0)long int *in, REG(a1)long int *out);
  105.  
  106. long int GD_sfl2fix( REG(a0)float  *in, REG(a1)long int *out);
  107.  
  108. long int GD_fix2sfl( REG(a0)long int *in, REG(a1)float  *out);
  109.  
  110. long int GD_dfl2fix( REG(a0)double *in, REG(a1)long int *out);
  111.  
  112. long int GD_fix2dfl( REG(a0)long int *in, REG(a1)double *out);
  113.